package cn.ulc.socket.admin.service.goods;

import cn.ulc.common.constant.enums.AvailableStatus;
import cn.ulc.common.model.param.PaginationParam;
import cn.ulc.socket.admin.model.dto.goods.GoodsSpecDTO;
import cn.ulc.socket.admin.model.dto.goods.GoodsSpecListDTO;
import cn.ulc.socket.admin.model.param.goods.GoodsSaveParam;
import cn.ulc.socket.admin.model.param.goods.GoodsSpecSaveParam;

public interface GoodsSpecServ {

    GoodsSpecListDTO findListPage(String name,Long goodsId, PaginationParam pager);

    GoodsSpecDTO findDetail(Long id);

    Boolean save(GoodsSpecSaveParam param);

    Boolean update(Long id, GoodsSpecSaveParam param);

    Boolean deleted(Long id);

    Boolean changeStatus(Long id, AvailableStatus status);


}
